package com.hjy.cloud.order;

import com.hjy.cloud.order.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.hjy.cloud.order.mapper")
@SpringBootApplication // SpringBoot启动类
@EnableFeignClients(defaultConfiguration = DefaultFeignConfiguration.class)  // 启用 Feign 客户端
public class OrderApplication{
    public static void main( String[] args ) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
